const express=require('express');
const Message=require('../models/message');
const router=new express.Router();
router.post('/message',async(req,res)=>{
    const result =await Message.create(req.body);
    res.send('员工信息录入成功');
})

module.exports=router